all : publish
publish : publish.cc
	g++ -std=c++17 $^ -o $@ -L/usr/lib -lamqpcpp -lev -lfmt -lspdlog -lgflags
consume : consume.cc
	g++ -std=c++17 $^ -o $@ /usr/lib/libamqpcpp.so -lev -lfmt -lspdlog -lgflags
clean:
	rm -f publish consume